package com.it.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("work_logs")
public class Log {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("author_id")
    private String authorId;

    @TableField("author_name")
    private String authorName;

//    private String department;

    private String content;

    private Integer status;

    @TableField(value = "submit_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}